home *** CD-ROM | disk | FTP | other *** search
/ PC Format 25 / PCFormat 1993-10.iso / READER.ZIP / SR.DOC < prev    next >
Text File  |  1993-06-30  |  3KB  |  91 lines

  1.                  SR (Search & Replace) version 1
  2.  
  3. The program and documentation (SR.EXE & SR.DOC) are (c) Copyright
  4. Robert Barker 1993.
  5.  
  6.  
  7. SR.EXE   is   a  'shareware' program.  This means  you  can  make
  8. copies of the program and documentation (without alterations)  to
  9. friends etc.
  10.  
  11. If  you find this program useful then please register by  sending
  12. me £5.  On registering will you be sent an updated version of the
  13. software.
  14.  
  15. *************************** IMPORTANT ***************************
  16.  
  17. I accept NO responsibility for the misuse of the program, or  any
  18. damaged  caused  by its use, ALWAYS USE A BACKUP  COPY!!  of  any
  19. files you use with this program.
  20.  
  21. *****************************************************************
  22.  
  23.  
  24.  
  25.                   WHAT IS SR (Search & Replace)?
  26.  
  27. SR  is  a  small utility  designed to  automate the process  of
  28. searching & replacing data in files.  Instead of using a file
  29. editor and searching through manually, SR allows you to enter
  30. what you what to find, and what you want to replace it with.
  31.  
  32.  
  33.                         HOW TO USE SR.EXE
  34.  
  35. You have two main options on the main menu, these are
  36.  
  37. 1) Search & Replace.
  38. 2) Overwrite.
  39.  
  40.                         Search & Replace
  41.  
  42. This  option  allows  you to search for a  series  of  bytes  and
  43. replace them with your own values.  After selecting this  option,
  44. you must enter the path and name of the file you wish to alter.
  45. If  the  file exists, you will then be presented with a  box,  in
  46. which  you  enter  the  hex values of the  data  that  is  to  be
  47. replaced. Each hex value is seperated by a '/'.
  48.  
  49. An example of this is:-
  50.  
  51. AA/C4/E3/D4/AC
  52.  
  53. You can enter upto 240 values which will be searched for.
  54. Press  enter when you have entered all the values. You are must
  55. now enter the values that will be used to replace the old data.
  56. This  is entered  in the same way.  The replace data *MUST* have
  57. the same amount of data as the search data.  Press enter when you
  58. are finished.  You are now prompted to press a key to start. After
  59. the key press the program will start to search the file, if  the
  60. data is found, it will be replaced.
  61.  
  62. When the process has finished, the original file will be renamed
  63. with  a .OLD extension, the altered file will have the  original
  64. filename.
  65.  
  66.  
  67.  
  68.                             Overwrite
  69.  
  70. This option is used to overwrite data,starting at a given offset.
  71. Enter the path and filename of the program.  You are now required
  72. to enter the start OFFSET of the data you wish to overwrite, this
  73. OFFSET is a 4 digit hex value between 0000 and FFFF.
  74.  
  75. After entered the OFFSET, you must now enter the data that  will
  76. be  written  to  the  file, this  is  entered  using  the  method
  77. described earlier in the documentation, press enter when finished,
  78. Press any key to start searching the file.
  79.  
  80.  
  81. If Search & Replace or Overwrite don't find the data/offset,  the
  82. original file will not be renamed or altered.
  83.  
  84. If you wish to register, please send £5 to:-
  85.  
  86. Robert Barker
  87. 24 Sandfield Cres,
  88. Glazebury,
  89. Warrington,
  90. WA3 5NF.
  91.